.paper {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.paper-head {
    margin-bottom: 2rem;
}

.paper-head h3 {
    margin: 0;
    color: hsl(306, 40%, 25%);
    font-size: 1.5rem;
}

.paper-body {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.field {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.field label {
    min-width: 80px;
    color: hsl(306, 40%, 25%);
    font-weight: 500;
}

.field select,
.field input {
    flex: 1;
    padding: 0.5rem;
    border: 1px solid hsl(306, 40%, 80%);
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.3s;
}

.field select:focus,
.field input:focus {
    border-color: hsl(306, 40%, 40%);
    box-shadow: 0 0 0 2px hsla(306, 40%, 25%, 0.2);
    outline: none;
}

.field select:hover,
.field input:hover {
    border-color: hsl(306, 40%, 40%);
}

.field input[type="number"] {
    width: 100px;
}

.paper-footer {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 4px;
    background-color: hsl(306, 40%, 25%);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: bold;
}

.btn:hover {
    background-color: hsl(306, 40%, 35%);
    transform: translateY(-1px);
}

.btn:disabled {
    background-color: hsl(306, 40%, 80%);
    cursor: not-allowed;
    transform: none;
}

.error {
    color: #ff4d4f;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* 自定义下拉框样式 */
.field select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
    padding-right: 2rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .paper {
        margin: 1rem;
        padding: 1rem;
    }
    
    .field {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .field label {
        min-width: auto;
    }
    
    .field select,
    .field input {
        width: 100%;
    }
    
    .paper-footer {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
} 